<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form>
	<table>
		<c:forEach items="${customers }" var="c">
			<tr>
				<td><a href="showFavs?cname=${c.cname }">${c.cname }</a></td>
				<td>${c.sex }</td>
				<td>${c.birth }</td>
				<td>${c.sal }</td>
				<td><a href="del?cname=${c.cname }">删除</a></td>
				<td><a href="find?cname=${c.cname }">更新</a></td>
			</tr>
		</c:forEach>
	
	</table>
	</form>
</body>
</html>